
<!-- 
	通过cdn形式引入react的项目
	需要引入3个包
	1. react
	2. react-dom   
	3. babel   使支持jsx
 -->

<!DOCTYPE html>
   <html lang="en">
   <head>
       <meta charset="UTF-8">
       <meta name="viewport" content="width=device-width, initial-scale=1.0">
       <title>My React App</title>
   </head> 
   <body>
       <div id="root"></div>
       <script src="https://unpkg.com/react@18/umd/react.development.js" crossorigin></script>
       <script src="https://unpkg.com/react-dom@18/umd/react-dom.development.js" crossorigin></script>
       <script src="https://unpkg.com/babel-standalone@6/babel.min.js"></script>
       <script type="text/babel">
            ReactDOM.render(<h1>hello</h1>, document.getElementById('root'))
       </script>
   </body>
   </html>
